import request from '@/utils/request'


// 根据列名，获取折线数据
export function getDoubleLineChartDataApi(data) {
  return request({
    url: 'algorithmn/getDoubleLineChartData',
    method: 'get',
    params: {'column1': data.column1,'column2': data.column2,'nodeName': data.nodeName,'flowchartId':data.flowchartId}
  })
}


// KnnClassify算法中，根据列名，获取散点图数据
export function getScatterChartDataApi(data) {
  return request({
    url: 'algorithmn/getScatterChartData',
    method: 'get',
    params: {'column1': data.column1,'column2': data.column2,'nodeName': data.nodeName,'flowchartId':data.flowchartId}
  })
}
